package com.petter.gradlespringboot.config;

import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 * @author : GD
 * @date :2021/6/15 : 21:41
 */
@Configuration
public class TestBean {

    @Bean("user1")
    public String user(){
        return "user Bean";
    }

}
